Skip to content

ENH: Replace ImpactWriteFeatureMaps with ImpactFeatureMapOutputDirectory and fix publish-elastix workflow bug#1424

Open
vboussot wants to merge 1 commit into
SuperElastix:mainfrom
vboussot:feature/impact-metric
Open

ENH: Replace ImpactWriteFeatureMaps with ImpactFeatureMapOutputDirectory and fix publish-elastix workflow bug#1424
vboussot wants to merge 1 commit into
SuperElastix:mainfrom
vboussot:feature/impact-metric

Conversation

@vboussot
Copy link
Copy Markdown
Contributor

This PR replaces the deprecated ImpactWriteFeatureMaps parameter with ImpactFeatureMapOutputDirectory, following the suggestion by @N-Dekker (see vboussot#6).

It also fixes an issue in the publish-elastix GitHub Actions workflow related to the generation of release artifacts.

In addition, for the 5.3.1 release, GPU support could be enabled by manually running the publish-elastix.yml workflow to build the ImpactMetricCuda library, and then adding the generated binaries (ImpactMetricCuda.so for Linux and ImpactMetricCuda.dll for Windows) to the existing release archives alongside the CPU library.

At runtime, when installing the component, elastix first attempts to load ImpactMetricCuda if a compatible GPU environment is detected. Otherwise, it automatically falls back to ImpactMetric, resulting in CPU-only execution.

Currently, the 5.3.1 release only ships the CPU library, meaning that even on systems with GPU support elastix immediately falls back to ImpactMetric, and GPU acceleration cannot be used.

@vboussot vboussot force-pushed the feature/impact-metric branch from 196ae6f to d9cf16e Compare April 17, 2026 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant